/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

import java.util.Date;

/**
 *
 * @author aptech
 */
public class DateConvert {
    public static java.sql.Date toSqlDate(Date jDate){
        return new java.sql.Date(jDate.getTime());
    }
    
    public static java.sql.Date toJavaDate(java.sql.Date sDate){
        return new java.sql.Date(sDate.getTime());
    }
}
